package com.czn.shopdemo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Zenan Chen
 * @date 2023/4/3 17:46
 */
@Data
@TableName(value = "t_shop_demo_business")
@EqualsAndHashCode(callSuper = false)
public class Business extends BaseEntity {

    @ApiModelProperty(value = "商家编码", example = "JD_HUAWEI")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "商家名称", example = "华为京东自营店")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "用户id", example = "123", hidden = true)
    @TableField("user_id")
    private String userId;
}
